package org.richfaces;

import java.io.Serializable;
import java.util.Random;

public class Data implements Serializable{

    private static final long serialVersionUID = 8324820599547821952L;

    private byte[] pictureData;

    private byte[] randomData = new byte[32768];
    
    public Data(byte[] pictureData) {
        super();
        this.pictureData = pictureData;
        new Random().nextBytes(randomData);
    }
	
    public byte[] getPictureData() {
        return pictureData;
    }
    
    public byte[] getRandomData() {
        return randomData;
    }
}
